package indi.caibo.service_edu.service;

import indi.caibo.service_edu.entity.EduVideo;
import com.baomidou.mybatisplus.extension.service.IService;
import indi.caibo.service_edu.entity.vo.video.VideoInfoForm;

import java.util.List;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author Bo Cai
 * @since 2021-10-07
 */
public interface EduVideoService extends IService<EduVideo> {

    boolean getCountByChapterId(String id);

    void saveVideoInfo(VideoInfoForm videoInfoForm);

    VideoInfoForm getVideoInfoFormById(String id);

    void updateVideoInfoById(VideoInfoForm videoInfoForm);

    boolean removeVideoById(String id);

    boolean removeByCourseId(String id);

    int getCountByCourseId(String courseId);
}
